extends "../lisailiu-1/lisailiu-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("本回合[非召唤]友军彻底阵亡时，提高自身50炮击", "爱丽丝之怒")
	
func _onCharaDel(cha):
	._onCharaDel(cha)
	if cha.team == team and not cha.isSumm:
		var atk = 50
		var buff = hasBuff("b_lisailiu")
		if buff == null:
			addBuff(b_lisailiu.new(atk))
		elif team == 1 || team == 2 && buff.att.atk < 500:
			buff.att.atk += atk

class b_lisailiu:
	extends "../../../azurlane_ctrl/AzurBuff.gd"
	func _init(atk):
		attInit()
		id = "b_lisailiu"	
		att.atk = atk
		buffName = "爱丽丝之怒"
		dispel = 2